﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MarkdownSharp;

namespace ActivateYourGlutes.Controllers
{
    public class MarkdownController : Controller
    {
        //
        // GET: /Markdown/

        [ValidateInput(false)]
        public String Preview(string toBeParsed)
        {
            var md = new Markdown();
            return md.Transform(toBeParsed);
        }

    }
}
